import request  from '@/utils/request';

import { BASE_URL } from '@/config/query';

export async function queryPage(params = { pageSize: 10, pageNum: 1 }) {
  return request(`${BASE_URL}/message_content/owner_system_page`, params)
}

export async function queryInfoById(id) {
  return request(`${BASE_URL}/message_content/detail/${id}`)
}

export async function create(params) {
  return request(`${BASE_URL}/message_content/direct_push`, params)
}

export async function lock(id) {
  return request(`${BASE_URL}/message_content/owner_system_remove/${id}`)
}
